package designMode.adapterPattern;

/**
 * @ClassName MallardDuck
 * @Description
 * @Author LIBOFEI
 * @Date 2020/6/25 21:21
 * @Version 1.0
 **/
public class MallardDuck implements Duck {


    @Override
    public void quack() {
        System.out.println("鸭子叫了");
    }

    @Override
    public void fly() {
        System.out.println("鸭子飞了");
    }
}
